<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
  <%--   <%@ include file="checkLogin.jsp" %> --%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="assets/css/maincss.css" rel="stylesheet" />
	
	<%
		String sId = session.getId();
		String cId = null;
		Cookie[] arr = request.getCookies();
		if(arr != null) {
			for (Cookie c : arr) {
				if("JSESSIONID".equals(c.getName())) {
					cId = c.getValue();
				}
			}
		}
	%>
</head>

<body>
<h4>SESSIONID : <%=sId %> </h4>
<h4>Cookie : <%=sId %> </h4>
<h3>当前在线人数 : ${onlineUser}</h3>
<h3>当前登陆人数 : ${loginUser}</h3>
right
</body>
</html>